home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor1
/
t24.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
2KB
|
59 lines
(Comp.sys.handhelds)
Item: 1696 by mike at DRD.Com
Author: [Mike Rovak]
Subj: T24, a 24-Tile Puzzle Game
Date: Fri Jan 11 1991
Well, here's my first attempt at a game posting, an HP48SX version of a cute
little sliding-piece puzzle I saw last month.
Object of the game is to reorder the numbered sliding pieces until they are in
numerical order. This is done by either sliding pieces left around the track,
sliding pieces right around the track, or spinning the little flipper which
contains 4 consecutive pieces at a time, thus reversing the order of the 4
pieces.
Download the T24 directory, go into it, and press PLAY. Game comes up
with the pieces in numerical order (unless a previous game in progress was
saved). Note: Game CLEARs the stack.
Menu options:
\<-S \->S FLIP MIX SAVE QUIT
shift left shift right flip jumble the save game kill game
pieces in progress
Shift Left
Shift Right
Take no parameter (assume shift only 1 position), or take a single real
number parameter which represents the number of positions to shift. Parameter
saves the time of repeated updating of the display, which consumes more time
than it should. Any ideas how to speed this up?
Flip
Rotates the flipper which is represented in the display by the U-shaped
line enclosing 4 pieces.
Mix
Gives a pseudo-random mix of the pieces by using the legal moves, thus
ensuring that there is indeed a solution.
Save
Saves the current game position in a list variable called SAVEL. Rename
this variable to make it more permanent. If this variable is present when
PLAY is executed, the game it represents will resume and the variable will be
purged.
Quit
Kills the current game and the junk on the stack the game uses.
As an aside, the variable PIECE is the same as used for the 24-piece puzzle
which was posted earlier. I moved it up the directory hierarchy to save
memory since I also have the other puzzle, and include it here for
completeness.